package Chapter6;

public class Example02 {
	public static void main(String[] args) {
		String s="abcdeglkdsjlkggs";
		System.out.println(s.length());
		System.out.println(s.charAt(0));
		System.out.println(s.indexOf('s'));
		System.out.println(s.lastIndexOf('s'));
	}

}
